package com.codepoem.designpattern.abstractfactory

import com.codepoem.designpattern.abstractfactory.benz.BenzBusinessCar
import com.codepoem.designpattern.abstractfactory.benz.BenzCar
import com.codepoem.designpattern.abstractfactory.bmw.BmwBusinessCar
import com.codepoem.designpattern.abstractfactory.bmw.BmwCar

/**
 * 具体工厂 商务车驾驶员
 */
class BusinessDriver() : Driver() {
    override fun createBenzCar(): BenzCar {
        return BenzBusinessCar()
    }

    override fun createBmwCar(): BmwCar {
        return BmwBusinessCar()
    }

}